import tableServiceAbstract from "@/core/table/tableService.interface";
import {$cacheTaglist,$cacheClear} from "@/api/female/female";
export default class cacheManagementDetailService implements tableServiceAbstract {
  getTable(params: any): Promise<any> {

    return $cacheTaglist();
  }
  delete(params: any): Promise<any> {
    return $cacheClear(params);
  }
  add(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
  edit(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
  detail(params: any): Promise<any> {
    return new Promise((resolve) => {
      resolve({
        data: {
          code: 200,
          data: {},
          msg: 'success',
        }
      });
    })
  }
}